package spring.cloud.tasks.tasks_manager.tasks_manager.task_item_allot.executor;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import spring.cloud.tasks.tasks_manager.tasks_manager.task_item_allot.task.TaskItem;

import java.util.List;

@Slf4j
@Setter
@Getter
public class Executor {
    private String executorId;
    private String ip;
    /**
     * 没有流量
     */
    private boolean lostTraffic;
    private List<String> taskIdList; // the task list supported by the executor
    private List<TaskItem> taskItemList;
    private int totalLoadLevel;
}
